﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using EpiMapit.Web;
using System.Xml;
using System.IO;

namespace EpiMapit.Test
{
    [TestClass]
    public class KmlParserFixture
    {

        public TestContext TestContext { get; set; }

        [TestMethod]
        public void ShouldExtractDates()
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(new FileStream("/Data/testcase.kml", FileMode.Open));

            DateTime[] dates;
            float[] distances;

            KmlParser.ExtractDatesAndDistances(doc, out dates, out distances);
        }

    }
}
